/**
 * Copyright By Nanjing Fujitsu Nanda Software Technology Co., Ltd
 * 下午2:56:54
 * SystemCommand.java
 * 
 */
package com.fujitsu.nanjing.mobile.enums;

/**
 * @author qixb.fnst
 *
 */
public enum SystemCommand {
    forceExit(-1,"强制退出"),sendPosition(-2,"发送位置");
    private SystemCommand(int state,String name) {
        this.commandCode = state;
        this.name=name;
    }

    private int commandCode;
    private String name;
    public int getCommandCode() {
        return commandCode;
    }
   
    public String getName() {
        return name;
    }
    public String toString() {
        return super.toString() + "(" + commandCode + "," + getName() + ")";
    }
}
